<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>登陆页面</title>
<%@include file="/WEB-INF/jsp/public/commons.jspf"%>
<script type="text/javascript">
    // 在被嵌套时就刷新上级窗口
    if(window.parent != window){
        //window.parent.location.reload(true);
        window.parent.location.href = "user_loginUI.action";
    }
</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
<meta http-equiv="Pragma" content="no-cache"> 
<meta http-equiv="Cache-Control" content="no-cache"> 
<meta http-equiv="Expires" content="0"> 
<link href="${pageContext.request.contextPath }/css/login.css" rel="stylesheet" type="text/css" />

</head>
<body>
<div class="login_box">
      <div class="login_l_img"><img src="${pageContext.request.contextPath }/images/login-img.png" /></div>
      <div class="login">
          <div class="login_logo"><a href="#"><img src="${pageContext.request.contextPath }/images/login_logo.png" /></a></div>
          <div class="login_name">
               <p>郑州物业</p>
          </div>
          <form method="post" action="user_login.action">
              <input name="loginName" type="text"  value="用户名" onfocus="this.value=''" onblur="if(this.value==''){this.value='用户名'}">
              <span id="password_text" onclick="this.style.display='none';document.getElementById('password').style.display='block';document.getElementById('password').focus().select();" >密码</span>
<input name="password" type="password" id="password" style="display:none;" onblur="if(this.value==''){document.getElementById('password_text').style.display='block';this.style.display='none'};"/>
              <!-- <input type="text" name="checkcode" class="form-control" placeholder="验证码"> -->
              <div class="form-group">
			   	  <div class="col-sm-8" style="padding-left:0px;">
				      <input type="text" name="checkcode" class="form-control" 
				         placeholder="验证码">
			      </div>
			      <div class="col-sm-4">
			      <img id="loginform:vCode" src="${pageContext.request.contextPath }/validatecode.jsp"
								onclick="javascript:document.getElementById('loginform:vCode').src='${pageContext.request.contextPath }/validatecode.jsp?'+Math.random();" />
					</div>			
			   </div>
              <input value="登录" style="width:45%;" type="submit">
              <input value="注册" onclick="javascript:location.href='user_registUI.action'" style="width:45%;float: right" type="button">
          </form>
		  <div style="margin-top: 10px;color: red;">${message}</div>
      </div>
      <div class="copyright">某某有限公司 版权所有©2017-2018 技术支持电话：000-00000000</div>
</div>
<div style="text-align:center;">
<!--<p>郑州市物业监管服务平台系统致力于便捷、安全、稳定等方面的客户体验</p>-->
</div>

</body>
</html>